import pandas as pd
import numpy as np
import seaborn as sns
import warnings
warnings.filterwarnings("ignore")
sns.set()
import matplotlib.pyplot as plt
from matplotlib.pyplot import MultipleLocator

def student():
    # ********* Begin *********#

    a=pd.read_csv("Task1/train.csv")
    fig, axes= plt.subplots(1, 2 )
    ax=sns.violinplot(x="Pclass",y="Age",data=a,hue="Survived",split=True,ax=axes[0])
    ax=sns.violinplot(x="Sex",y="Age",data=a,hue="Survived",split=True,ax=axes[1])
    plt.savefig("Task1/img/T1.png")
    plt.show()

    # ********* End *********#